Method and apparatus for adjusting an image and control guides displayed on a display

ABSTRACT

A method for providing a graphical user interface on a display of a device includes: displaying a photograph an image on the display of the device, receiving a touch input made on the display, superimposedly displaying a plurality of control guides at a location corresponding to the touch input over the displayed photograph image in response to receiving the touch input, receiving a drag input corresponding to one of the plurality of control guides displayed on the display, removing adjusting a display characteristic of at least one of the plurality of control guides in response to receiving the drag input, and displaying the adjusted plurality of control guides on the display.

CROSS REFERENCE TO RELATED APPLICATION

This is a continuation-in-part application of U.S. patent applicationSer. No. 14/052,406 filed in the U.S. Patent and Trademark Office onOct. 11, 2013, which is a continuation application of U.S. patentapplication Ser. No. 12/335,772, filed in the U.S. Patent and TrademarkOffice on Dec. 16, 2008, which claims priority from Korean PatentApplication No. 10-2007-0133866, filed in the Korean IntellectualProperty Office on Dec. 20, 2007, the disclosures of which areincorporated herein by reference in their entireties.

BACKGROUND

1. Field

Methods and apparatuses consistent with exemplary embodiments relate toa mobile terminal and, more particularly, to a method of controlling afunction of a mobile terminal, which has a touch screen to provide aninteraction guide thereon.

2. Discussion of the Background

Advances in information and communication technologies have enabled amobile terminal to perform multi-functions. For example, in addition tocall processing, an advanced mobile terminal may support varioussupplementary functions such as a camera function, Digital MultimediaBroadcasting (DMB), and a Bluetooth function.

The mobile terminal may include an input unit, such as a keypad, toinput control commands to control a variety of functions. However, itmay be inconvenient for a user to manipulate the keypad with his/herfinger because the keypad may be relatively small compared to his/herfinger. Therefore, a mobile terminal may be provided with a touch screeninstead of a keypad. However, a user using the mobile terminal having atouch screen may have difficulty in controlling various functions if theuser is not familiar with processes of performing a function when afunction is to be performed, which may result in unnecessary multipletouches of the touch screen.

SUMMARY

Aspects of the exemplary embodiments provide a mobile terminal having atouch screen and a method of controlling a function thereof that mayenable a user to control a variety of functions with ease.

Additional aspects will be set forth in the description which follows,and in part will be apparent from the description, or may be learned bypractice of the exemplary embodiments.

According to an aspect of an exemplary embodiment, there is provided amethod of controlling a function of a mobile terminal having a touchscreen. The method includes displaying a function execution screen onthe touch screen, displaying a control interaction guide on the functionexecution screen in response to a request to display the controlinteraction guide, the control interaction guide to guide at least onecontrol command to be executed on the function execution screen,determining a control command corresponding to a drag if the drag isdetected on the touch screen, and executing a function corresponding tothe control command on the function execution screen.

According to an aspect of an exemplary embodiment, there is provided amobile terminal including a touch screen including a touch panel todetect a drag and drop generated on the function execution screen and adisplay unit to display a function execution screen, a control unit tocontrol the display unit to display of a control interaction guide toguide at least one control command to be executed on the functionexecution screen in response to a request to display the controlinteraction guide, to determine a control command corresponding to adrag generated on the function execution screen, and to execute afunction corresponding to the control command on the function executionscreen, and a memory unit to store the control command to be executed onthe function execution screen and the control interaction guide to bedisplayed on the function execution screen.

According to an aspect of an exemplary embodiment, there is provided amethod of controlling a function of a mobile terminal having a touchscreen including displaying a function execution screen on the touchscreen, searching for a stored control interaction guide if an approachis detected, displaying the stored control interaction guide if thestored control interaction guide exists, stopping the display of thecontrol interaction guide if a touch on the display control interactionguide is detected, calculating drag characteristic values when a drag isdetected, determining a control command corresponding to the dragcharacteristic values, and executing a function corresponding to thecontrol command.

It is to be understood that both the foregoing general description andthe following detailed description of exemplary embodiments areexemplary.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are included to provide a furtherunderstanding of are incorporated in and constitute a part of thisspecification, illustrate aspects of the exemplary embodiments, andtogether with the description serve to explain the principles of thedisclosure.

FIG. 1 shows a configuration of a mobile terminal having a touch screenconfigured to perform a function according to an exemplary embodiment.

FIG. 2 is a flow chart showing a method of performing a function of amobile terminal according to another exemplary embodiment.

FIGS. 3A-3E are screen representations showing the procedure of FIG. 2.

FIG. 4 is a flow chart showing a method of performing a function of amobile terminal according to another exemplary embodiment.

FIG. 5 is a flow chart showing method of performing a function of amobile terminal according to another exemplary embodiment.

FIGS. 6A-6B, FIG. 7, FIG. 8, FIG. 9A and FIG. 9B are screenrepresentations showing the procedure of FIG. 5.

DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS

The exemplary embodiments are described more fully hereinafter withreference to the accompanying drawings, in which aspects of theexemplary embodiments are shown. The exemplary embodiments may, however,be embodied in many different forms and should not be construed aslimited to the exemplary embodiments set forth herein. Rather, theseexemplary embodiments are provided so that this disclosure is thorough,and will fully convey the scope of the disclosure to those skilled inthe art. In the drawings, the size and relative sizes of layers andregions may be exaggerated for clarity. Like reference numerals in thedrawings denote like elements.

It will be understood that when an element or layer is referred to asbeing “on” or “connected to” another element or layer, the element orlayer can be directly on or directly connected to the other element orlayer, or intervening elements or layers may be present. In contrast,when an element is referred to as being “directly on” or “directlyconnected to” another element or layer, there are no interveningelements or layers present.

In an exemplary embodiment, the term “function execution screen” refersto a displayed screen of a mobile terminal when a particular function isperformed. The term “control command” refers to a control command toperform a sub-function that is to be performed through the functionexecution screen when a particular function is performed. Such a controlcommand may be, for example a zoom-in command or a zoom-out command whenperforming a camera function, or a volume control command or a playbackcommand of a previous file or next file when performing an audiofunction. Herein, the control command may be a command to move to anupper-level menu or a lower-level menu or to a next menu of the samelevel. The control command may be performed in response to a usermanipulation.

The term “control interaction guide” refers to a display image thatguides control commands to be executed on a function execution screen ofa mobile terminal. At this time, either none or at least one controlinteraction guide may be present according to a function executionscreen. The control interaction guide may further include a directionimage that shows a direction in which a user should move to manipulatecorresponding control commands. Also, the control interaction guide mayfurther include a symbol image that indicates corresponding controlcommands.

The term “touch” refers to an action in which a user contacts a touchscreen using a touch device, typically a stylus or a finger. The term“drag” refers to an action in which a user moves about the touch devicealong the touch screen. The term “drop” refers to an action in which auser releases contact from the touch screen.

FIG. 1 shows a configuration of a mobile terminal 100 according to anexemplary embodiment. For the purpose of the following description, themobile terminal 100 is embodied as a mobile phone.

Referring to FIG. 1, the mobile terminal 100 includes a wireless unit110, a touch screen 120, a proximity sensor 130, a memory unit 140, acontrol unit 150, and an audio processor 160.

The wireless communication unit 110 performs wireless communicationoperations for the mobile terminal 100. The wireless unit 110 includes aradio frequency (RF) transmitter to upconvert the frequency of a signalto be transmitted and amplify the signal, and an RF receiver tolow-noise amplify a received signal and downconvert the frequency of thereceived signal.

The touch screen 120 includes a display unit 121 and a touch panel 123.The display unit 121 displays a state of the mobile terminal 100. Thedisplay unit 121 may include an LCD, and in this case includes an LCDcontrol unit, a memory to story display data, and an LCD displayelement. The touch panel 123 may be mounted on or integral with thedisplay unit 121 and may include a touch sensor and a signal converter.The touch sensor detects control commands of a touch, a drag, and a dropfrom a change in magnitude of a physical parameter, such as pressure oranother force, or a change in magnitude of an electrical parameter, suchas capacitance or resistance. The signal converter converts the changein the magnitude of the physical or electrical parameter into a touchsignal.

The proximity sensor 130 detects a presence of objects near to the touchscreen 120 without any physical contact. The proximity sensor 130detects, for instance, a variation of a temperature or luminousintensity. Herein, at least one proximity sensor 130 may be installed onthe rear of the display unit 121 and on a side of the display unit 121.When a single proximity sensor 130 is installed, the proximity sensor130 may be located to detect the movement of a user's hand toward themobile terminal.

The memory unit 140 includes a program memory section and a data memorysection. The program memory section stores programs of control commandsto control the mobile terminal 100 and programs to perform a functionusing the touch screen 123 according to an exemplary embodiment. Thedata memory section stores data generated during the execution of aprogram of the mobile terminal 100. The memory unit 140 stores a controlcommand to be executed on each function execution screen according to anexemplary embodiment. Further, the memory unit 140 stores a controlinteraction guide for guiding a control command. The memory unit 140also stores characteristic values of a control interaction guideincluding a degree of transparency, a degree of contrast, a colorattribute and a size thereof, and text information describing a controlcommand corresponding to a control interaction guide according to anexemplary embodiment.

The control unit 150 controls the overall operation of the mobileterminal 100. The control unit 150 performs a signal processing functionto encode and modulate a signal to be transmitted, and to demodulate anddecode a received signal. The control unit 150 may include amodulator/demodulator (modem) and a coder/decoder (codec).

In particular, the control unit 150 controls display of a functionexecution screen when executing a function according to an exemplaryembodiment. Further, the control unit 150 controls the display unit 121to display a control interaction guide on the function execution screenby retrieving the control interaction guide from the memory unit 140 inresponse to a user request to display the control interaction guidewhile displaying the function execution screen. Herein, the control unit150 may recognize an approach to the touch screen 120 through aproximity sensor 130 as a request to display a control interactionguide.

The control unit 150 may remove a control interaction guide from thefunction execution screen if an occurrence of a touch on the touchscreen 120 is detected while the control interaction guide is beingdisplayed. Further, the control unit 120 may remove a controlinteraction guide from the function execution screen if a time periodfor displaying the guide elapses while the control interaction guide isbeing displayed. In addition, the control unit 150 controls the mobilephone by detecting a control command corresponding to a drag if the dragis detected on the touch screen 120.

The control unit 150 may retain a control interaction guide on thefunction execution screen if a drag is detected on the touch screen 120,and the control unit 150 may change a characteristic value of a controlinteraction guide, including a degree of transparency, a degree ofcontrast, a color attribute and a size thereof, and text informationdescribing a control command corresponding to the control interactionguide, while maintaining the control interaction guide on the functionexecution screen. Also, the control unit 150 may move a controlinteraction guide in response to the movement of the touch and the drag.

The audio processor 160 reproduces an audio signal from an audio codecthrough a speaker SPK, and transmits an audio signal from a microphoneMIC to the audio codec.

FIG. 2 is a flow chart showing a method of performing a function of amobile terminal according to another exemplary embodiment of the presentinvention. FIG. 3A, FIG. 3B, FIG. 3C, FIG. 3D, and FIG. 3E are screenrepresentations showing processes of performing a function according tothe method of FIG. 2. Specifically, FIG. 3A, FIG. 3B, FIG. 3C, FIG. 3D,and FIG. 3E are screen representations when a camera function isperformed. In detail, FIG. 3A shows a touch screen when a particularfunction is to be performed. FIG. 3B shows the touch screen when anapproach to the touch screen is detected. FIG. 3C shows the touch screenwhen a drag is detected on the touch screen. FIG. 3D shows the touchscreen when a drop is detected on the touch screen. FIG. 3E shows thetouch screen after the function is performed.

Referring to FIG. 2, a function execution screen is displayed on thetouch screen 120 (S211) when a function is to be performed, as shown inFIG. 3A. For example, the control unit 150 may display a functionexecution screen as a preview screen when performing a camera function.If the control unit 150 detects an approach to the touch screen 120(S213), the control unit 150 searches for a control interaction guidecorresponding to the displayed function execution screen stored in thememory unit 140 (S215).

The control unit 150 determines if a control interaction guide to bedisplayed on the function execution screen exists (S217). In otherwords, the control unit 150 determines if a control command to beexecuted on the function execution screen corresponding to a functionexecution screen exists. If the control unit 150 determines that acontrol interaction guide stored in a memory unit 140 exists, thecontrol unit 150 displays the control interaction guide (S219), as shownin FIG. 3B. For example, the control unit 150 may display a controlinteraction guide to guide a control command to be performed on thepreview screen such as a zoom-in command, a zoom-out command, abrightness command, or a shot command.

If the control unit 150 detects a touch on the touch screen 120 (S221),the control unit 150 removes the control interaction guide from thefunction execution screen (S223), as shown in FIG. 3C.

If the control unit 150 detects a drag generated on the touch screen 120(S225), the control unit determines changes of the drag coordinates andcalculates values of drag characteristics therefrom (S227). For example,the control unit 150 calculates the distance, direction, and velocity ofthe drag. Next, the control unit 150 determines a control command to beexecuted on the function execution screen corresponding to thecalculated drag characteristic values and executes a functioncorresponding to the determined control command (S229), as shown in FIG.3D. For example, if the distance of the drag is X pixels, and thedirection of the drag is upward, the control unit enlarges the previewscreen by Y times (where Y=MX, M is a constant number).

The memory unit 140 may store a control command to be executedcorresponding to specific drag characteristic values in advance. Thecontrol unit 150 may further display the calculated drag characteristicvalues on the function execution screen (not shown).

If the control unit 150 detects a drop generated on the touch screen 120(S231), the control unit 150 terminates the function executionprocedure, as shown in FIG. 3E. When the drop is detected, the controlunit 150 may further control to perform functions determining a controlcommand to be executed on the function execution screen corresponding tothe drop and a subsequent touch (not shown in FIG. 2). If a drop is notdetected through the touch screen 120 at step S231, the process returnsto step S225 and the control unit 150 may repeat steps S225 to S231.

If a drop is detected at step S231, the control unit 150 may furtherdetermine a control command to be executed on the function executionscreen corresponding to the touch and drop (not shown in FIG. 2).

In the exemplary embodiments, a control interaction guide is displayedwhen an approach to a touch screen is detected while a functionexecution screen of a mobile terminal is being displayed. However, thedisplay is not limited thereto. For example, exemplary embodiments canbe realized by displaying various interaction guides in response toapproaching different positions of a touch screen while displaying afunction execution screen. In addition, the display can be realized bydetecting a request to display a control interaction guide while afunction execution guide of a mobile terminal is being displayed. Forexample, if a touch or a drop is detected on a touch screen while acontrol interaction guide is being displayed on a function executionscreen of a mobile terminal, the touch or drop may be regarded as arequest to display a control interaction guide.

In the exemplary embodiments, a control interaction guide is removedwhen a touch is detected while a control interaction guide is beingdisplayed on the function execution screen of a mobile terminal.However, the display is not limited thereto. Exemplary embodiments maybe realized by detecting a request to remove a control interaction guidefrom a function execution screen of a mobile terminal. For example, adisplay period to display various control interaction guides may bestored in a memory unit of a mobile terminal. If the preset displayperiod of a control interaction guide elapses while the controlinteraction guide is being displayed on a function execution screen of amobile terminal, the elapse of the preset display period may be regardedas a request to remove the control interaction guide from the functionexecution screen.

According to exemplary embodiments, when executing a function of amobile terminal, a control command to be executed on a functionexecution screen may be guided by displaying a control interaction guidecorresponding to the control command on a function execution screen.Thereby, a user of a mobile terminal may conveniently manipulate variousfunctions of the mobile terminal.

FIG. 4 is a flow chart showing a method of performing a function of amobile terminal according to another exemplary embodiment. In thisexemplary embodiment, a detailed explanation of a configuration of amobile terminal is omitted, as the configuration of a mobile terminal inthis exemplary embodiment is similar to the configuration of a mobileterminal in the exemplary embodiment of the present invention shown inFIG. 1, except that the mobile terminal of the present exemplaryembodiment may not include a proximity sensor.

Referring to FIG. 4, a function execution screen is displayed on thetouch screen 120 when a function is to be performed (S411). If thecontrol unit 150 detects a touch on the touch screen 120 (S413), thecontrol unit 150 searches for a control interaction guide correspondingto the touch on the displayed function execution screen stored in thememory 140.

If the control unit 150 determines that a control interaction guide tobe displayed on a function execution screen exists (S417), the controlunit 150 displays the control interaction guide (S419).

If the control unit 150 detects a drag generated on the touch screen 120(S421), the control unit 150 removes the control interaction guide fromthe function execution screen (S423). The control unit 150 determineschanges of the drag coordinates and calculates values of dragcharacteristics therefrom (S425). For example, the control unit 150calculates the distance, direction, and velocity of the drag. Thecontrol unit 150 then determines a control command to be executed on thefunction execution screen corresponding to the calculated dragcharacteristic values and executes a function corresponding to thedetermined control command (S427). Herein, a control commandcorresponding to specific drag characteristic values may be stored inthe memory unit 140 in advance. The control unit 150 may further displaythe calculated drag characteristic values corresponding to the controlcommand on the function execution screen (not shown).

If the control unit 150 detects a drop generated on the touch screen 120(S429), the control unit 150 terminates the function executionprocedure. If a drop is not detected through the touch screen 120 atstep S429, the control unit 150 may repeat steps S421 to S429.

When the drop is detected, the control unit 150 may further control themobile terminal 100 to perform functions determining a control commandto be executed on the function execution screen corresponding to thedrop and a subsequent touch (not shown in FIG. 4). If a drop is notdetected through the touch screen 120 at step S429, the process returnsto step S421 and the control unit 150 may repeat the S421 to S429.

In another exemplary embodiment, if the control unit 150 detects a touchon the touch screen 120 (S521), the control unit 150 retains the controlinteraction guide on the function execution screen (S523), and changescharacteristics of the control interaction guide including atransparency, a contrast, a color and a size thereof, and textinformation describing a control command corresponding to the controlinteraction guide, as shown in FIG. 6A. Also, the control interactionguide may be moved in response to the movement of the touch and thedrag, as shown in FIG. 6B.

FIG. 5 is a flow chart showing a method of performing a function of amobile terminal according to another exemplary embodiment. In thisexemplary embodiment, a detailed explanation of a method of performing afunction of a mobile terminal is omitted, as the method of performing afunction of a mobile terminal in this exemplary embodiment is similar tothe method of performing a function of a mobile terminal in theexemplary embodiment of the present invention shown in FIG. 4, exceptthat the mobile terminal of the present exemplary embodiment may retaina control interaction guide on the function execution screen afterdetecting a drag generated on the screen and change characteristics ofthe control interaction guide including a transparency, a contrast, acolor and a size thereof, and text information describing a controlcommand corresponding to the control interaction guide.

Referring to FIG. 5, if the control unit 150 detects a drag generated onthe touch screen 120 (S521), the control unit 150 retains the controlinteraction guide on the function execution screen, and changescharacteristic values of the control interaction guide (S523). Thecontrol unit 150 determines changes of the drag coordinates andcalculates values of drag characteristics therefrom (S525). For example,the control unit 150 calculates the distance, direction, and velocity ofthe drag. The control unit 150 then determines a control command to beexecuted on the function execution screen corresponding to thecalculated drag characteristic values, and executes a functioncorresponding to the determined control command (S527).

The memory unit 140 may store characteristic values of a controlinteraction guide including a degree of transparency, a degree ofcontrast, a color attribute and a size thereof, and text informationdescribing a control command corresponding to the control interactionguide in advance.

FIG. 6A, FIG. 6B, FIG. 7, FIG. 8, FIG. 9A, and FIG. B are screenrepresentations showing process of performing a function according tothe method of FIG. 5. Specifically, FIG. 6A, FIG. 6B, FIG. 7, FIG. 8,FIG. 9A, and FIG. 9B are screen representation when a camera function isperformed.

FIG. 6A shows a touch screen when a transparency of a controlinteraction guide is controlled while a plurality of the controlinteraction guide is maintained on the function execution screen. If thecontrol unit 150 detects a drag generated on the touch screen 120, atransparency of the control interaction guide is controlled while aplurality of the control interaction guide is maintained on the functionexecution screen. For example, when a user touches the touch screen 120and drags his or her finger on the touch screen 120, the transparency ofthe control interaction guide may be increased, as shown in FIG. 6A. Andthe control interaction guide may be moved in response to the touch anddrag detected, as shown in FIG. 6B.

FIG. 7 shows a touch screen when a transparency of a control interactionguide is controlled while the control interaction guide corresponding toa direction of the drag is maintained on the function execution screen.If the control unit 150 detects a drag generated on the touch screen 120(S521), a transparency of the control interaction guide is controlledwhile the control interaction guide corresponding to a direction of thedrag is maintained on the function execution screen. For example, onedirectional arrow corresponding to a direction of the drag may bemaintained on the function execution screen and the transparency of thedirectional arrow may be increased as shown in FIG. 7.

FIG. 8. shows a touch screen when a contrast of a control interactionguide is controlled in response to the characteristic of the positionwhere the touch is detected. If the control unit 150 detects a draggenerated on the touch screen 120 (S521), a contrast of the controlinteraction guide is controlled in response to the characteristic of theposition, where the touch is detected, including a color, a contrast anda transparency, and the text information describing the control commandmay be changed in accordance with the contrast thereof. For example,when the control unit 150 detects a drag generated on a cloud of theimage, the contrast of the control interaction guide may be changed inresponse to the color, the contrast or the transparency of the positionwhere the cloud is placed, as shown in FIG. 8.

FIG. 8 also shows a touch screen when text information describing thecontrol command corresponding to the control interaction guide iscontrolled in response to the characteristic of the position where thetouch is detected.

FIG. 9A and FIG. 9B show a touch screen when a size of a controlinteraction guide is controlled while characteristics of the controlinteraction guide is changed. If the control unit 150 detects a draggenerated on the touch screen 120 (S521), a size of a controlinteraction guide is changed while characteristics of the controlinteraction guide is changed. For example, the size of the controlinteraction guide may become larger or smaller than the originaldirectional arrows, and the transparency may be changed while thecontrol interaction guide is resized, as shown in FIG. 9A and FIG. 9B.

A method of detecting a control interaction guide while a controlinteraction guide is being displayed on a function execution screen isdescribed in this exemplary embodiment, but is not limited thereto.Exemplary embodiments may be realized by displaying various interactionguides in response to approaching different positions of a touch screenwhile a function execution screen is being displayed.

A method of removing a control interaction guide from a functionexecution screen is described in this exemplary embodiment, but is notlimited thereto. Exemplary embodiments may be implemented by detecting arequest to remove a control interaction guide from a function executionscreen. For example, a display period to display a specific interactionguide may be stored in a memory unit of a mobile terminal. If the presetdisplay period elapses while the specific interaction guide is beingdisplayed, the elapse of the preset display period may be regarded as arequest to remove the control interaction guide from the functionexecution screen.

As apparent from the above description, there is provided a display of acontrol command that may be executed by a user on a function executionscreen of a mobile terminal by displaying the control interaction guideon the function execution screen. As a result, a user may easilymanipulate various functions using a touch screen of a mobile terminal.

It will be apparent to those skilled in the art that variousmodifications and variation can be made without departing from thespirit or scope of the disclosure. Thus, it is intended that the presentdisclosure cover the modifications and variations of this disclosurewithin the scope of the appended claims and their equivalents.

What is claimed:
 1. An image photographing method using a graphical userinterface (GUI) item on a touch screen of an electronic device, themethod comprising: displaying a preview image on the touch screen of theelectronic device, wherein the preview image is an image that iscurrently being provided on the touch screen of the electronic devicefor photographing an image; based on a detecting a hovering over thetouch screen of the electronic device, displaying a plurality of GUIitems over the preview image being displayed on the touch screen,wherein one GUI item of the plurality of GUI items is for adjusting anattribute of the preview image; detecting a drag input corresponding toa selection of the one GUI item; determining a drag characteristic valueof the drag input; and adjusting a visual characteristic of the one GUIitem over the preview image being displayed on the touch screen anddisplaying the preview image having the adjusted attribute and the oneGUI item having the adjusted visual characteristic on the touch screenwhile the drag input is detected, wherein the drag characteristic valueof the drag input comprises at least one of a distance, a velocity, anda direction of the drag input, wherein the plurality of GUI itemscorrespond to a plurality of functions for adjusting attributes of thepreview image being displayed, wherein the visual characteristic of theone GUI item comprises a size of the one GUI item, and wherein theadjusting comprises adjusting the visual characteristic of all of theplurality of GUI items.
 2. The method according to claim 1, wherein themethod further comprises: determining a control command to be executedcorresponding to the one GUI item and the at least one of the distance,the velocity, and the direction of the drag input; and executing afunction of the electronic device corresponding to the determinedcontrol command.
 3. A non-transitory computer-readable medium havingrecorded thereon a program, which when executed by a computer causes thecomputer to execute a method for providing a graphical user interface ona touch screen of an electronic device, the method comprising:displaying a preview image on the touch screen of the electronic device,wherein the preview image is an image that is currently being providedon the touch screen of the electronic device for photographing an image;based on a detecting a hovering over the touch screen of the electronicdevice, displaying a plurality of GUI items over the preview image beingdisplayed on the touch screen, wherein one GUI item of the plurality ofGUI items is for adjusting an attribute of the preview image; detectinga drag input corresponding to a selection of the one GUI item;determining a drag characteristic value of the drag input; and adjustinga visual characteristic of the one GUI item over the preview image beingdisplayed on the touch screen and displaying the preview image havingthe adjusted attribute and the one GUI item having the adjusted visualcharacteristic on the touch screen while the drag input is detected,wherein the drag characteristic value of the drag input comprises atleast one of a distance, a velocity, and a direction of the drag input,wherein the plurality of GUI items correspond to a plurality offunctions for adjusting attributes of the preview image being displayed,wherein the visual characteristic of the one GUI item comprises a sizeof the one GUI item, and wherein the adjusting comprises adjusting thevisual characteristic of all of the plurality of GUI items.
 4. Thenon-transitory computer-readable medium according to claim 3, whereinthe method further comprises: determining a control command to beexecuted corresponding to the one GUI item and the at least one of thedistance, the velocity, and the direction of the drag input; andexecuting a function of the display device corresponding to thedetermined control command.
 5. A display device comprising: a touchscreen configured to display a preview image and a plurality of GUIitems; a memory configured to store visual characteristics of theplurality of GUI items; and a processor configured to control the touchscreen to display the preview image, the preview image is an image thatis currently being provided on the touch screen of the display devicefor photographing an image, based on a detecting a hovering over thetouch screen of the display device to display the plurality of GUI itemsover the preview image being displayed on the touch screen, wherein oneGUI item of the plurality of GUI items is for adjusting an attribute fora preview image, detect a drag input corresponding to the one GUI itemand determine a drag characteristic value of the drag input to adjust avisual characteristic of the one GUI item over the preview image beingdisplayed on the touch screen and display the preview image having theadjusted attribute and the one GUI item having the adjusted visualcharacteristic on the touch screen while the drag input is detected,wherein the drag characteristic value of the drag input comprises atleast one of a distance, a velocity, and a direction of the drag input,wherein the plurality of GUI items correspond to a plurality offunctions for adjusting attributes of the preview image being displayed,wherein the visual characteristic of the one GUI item comprises a sizeof the one GUI item, and wherein the processor is further configured toadjust the visual characteristic of the one GUI item by adjusting thevisual characteristic of all of the plurality of GUI items.
 6. Thedisplay device according to claim 5, wherein the processor is furtherconfigured to: determine a control command to be executed correspondingto the one GUI item and the at least one of the distance, the velocity,and the direction of the drag input; and execute a function of thedisplay device corresponding to the determined control command.